home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / BallBreaker.swf / scripts / frame_5 / PlaceObject2_23_7 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  394 b   |  20 lines

  1. onClipEvent(enterFrame){
  2.    if(str ne "bonus2")
  3.    {
  4.       if(235 < _Y)
  5.       {
  6.          this.removeMovieClip();
  7.       }
  8.       _Y = _Y + 2;
  9.    }
  10.    if(this.hitTest(_root.ship))
  11.    {
  12.       _root.vars.gameon = 0;
  13.       set("_root.vars.:ballx",3);
  14.       set("_root.vars.:bally",-3);
  15.       _root.gotoAndPlay("miss");
  16.       _root.func.miss();
  17.       this.removeMovieClip();
  18.    }
  19. }
  20.